/********************************************************************
	created:	2011/05/14
	created:	14:5:2011   19:29
	filename: 	d:\Work\Job\trunk\Speed\Torrent.h
	file path:	d:\Work\Job\trunk\Speed
	file base:	Torrent
	file ext:	h
	author:		liang
	
	purpose:	
*********************************************************************/
#ifndef _Torrent_h_2011_05_14_19_29
#define _Torrent_h_2011_05_14_19_29

#include "Tracker.h"

class Torrent
{
public:
	Torrent();
	virtual ~Torrent();

	int DownLoadUpLoadWithPeers();

	int PrintPeerList();
	
	void PrintProcessInfo();

	void ClearConnectTracker();

	void ClearConnectPeer();

	void ClearTrackerResponse();

	void ReleaseMemoryInTorrent();
};


#endif